Remove All Custom Attributes for User

This call deletes specific custom attributes for the specified accounts.

Authentication

Device Management

HTTP Method

DELETE

Request URI

/api/v1/account/{id}/customattributes

Request Parameters

Parameter

Argument Type

Description

Example Value

id

Request body

The specific user id for which all the custom attributes must be deleted.

42299037

Example Request

curl --location --request DELETE 'https://<hostname>/api/v1/account/customattributes' \

--header 'Accept: application/json, text/plain, */*' \

--header 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \

--header 'Content-Type: application/json' \

--header 'Authorization: Basic <token>' \

--header 'Cookie: MISESSIONID=NmE0NWIxOWUtMGFkNS00ZTFkLWEzOGMtMmM2MTVkMjNmODJh' \

--data '{

"ids": [

"42299037"

],

"attrKeys": [

"test_abc",

"test"

]

}'

Example Response

{

    "errors": null,

    "result": 1

}